<div
  class="user {{if rank.currentUser 'user-highlight'}}"
  id="leaderboard-user-{{rank.id}}"
>
  {{!-- 如果rank的position小于4,则增加.-highlight 类, lt --}}
  <div class="user__rank {{if (lt rank.position 6) 'user__rank-highlight'}}">
      <span>{{rank.position}}</span>
  </div>
  <div
    class="user__avatar clickable"
    role="button"
    data-user-card={{rank.username}}
  >
    {{avatar rank imageSize="large"}}
    <span class="user__name">
      {{#if this.siteSettings.prioritize_username_in_ux}}
        {{rank.username}}
      {{else}}
        {{or rank.name rank.username}}
      {{/if}}
    </span>
  </div>
  <div class="user__score">
    <span class="user__score-num">
      {{#if site.mobileView}}
        {{number rank.total_score}}
      {{else}}
        {{fullnumber rank.total_score}}
      {{/if}}
    </span>
    <span class="user__score-desc">贡献值</span>
  </div>
</div>